﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Decoration.Models.Models
{
    /// <summary>
    /// 审批流程类型表
    /// </summary>
    public class WF_ApprovalFlow
    {
        [Key]
        [DatabaseGenerated(DatabaseGeneratedOption.Identity)]
        public int Id { get; set; }

        /// <summary>
        /// 流程编码
        /// </summary>
        public int TypeCode { get; set; }

        /// <summary>
        /// 流程名称
        /// </summary>
        [MaxLength(50)]
        public string TypeName { get; set; } = null!;

        /// <summary>
        /// 流程注释
        /// </summary>
        [MaxLength(500)]
        public string? TypeDesc { get; set; }

        public int Status { get; set; } = 1;

        public DateTime CreateTime { get; set; } = DateTime.Now;
    }
}
